Skip to content

Optionally provide build tasks for library products #1741

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 29, 2025

Conversation

award999
Copy link
Contributor

@award999 award999 commented Jul 23, 2025

Description

Introduce a new swift.createTasksForLibraryProducts setting that is false by default, but when enabled causes the extension to automatically create and provide tasks for library products. Any automatic library products will still be ignored as they'd just result in a warning:

warning: '--product' cannot be used with the automatic product 'PackageLib'; building the default target instead

Issue: #1646

Tasks

  • Required tests have been written
  • Documentation has been updated
  • Added an entry to CHANGELOG.md if applicable

@award999 award999 force-pushed the library-build-tasks branch from c8c7b41 to 6bc30cd Compare July 29, 2025 13:19
@award999 award999 marked this pull request as ready for review July 29, 2025 13:19
@award999 award999 merged commit c073793 into swiftlang:main Jul 29, 2025
18 checks passed
@award999 award999 deleted the library-build-tasks branch July 29, 2025 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants